package com.zdkj.subway.check.mapper;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zdkj.subway.check.entity.SwStReportErrorAlterApply;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 报表差错更改申请
 */
@Mapper
public interface SwStReportErrorAlterAppayMapper extends BaseMapper<SwStReportErrorAlterApply> {
    List<Map<String,Object>> getReportErrorList(@Param("param") Map<String, String> param);
    //报表差错信息查询
    IPage<SwStReportErrorAlterApply> getReportErrorList(Page page, @Param("param") Map<String, Object> param);

    //保存
    Integer insertReport(SwStReportErrorAlterApply swStReportErrorAlterApply);

    //获取报表差错信息列表
    List<Map<String, Object>> get_xw_ReportErrorList(@Param("param") Map<String, String> param);

    //修改
    Integer updateMondifyLimitTime(@Param("ids") String ids);


    //获取报表差错更改申请表
    List<Map<String,Object>> getReportErrorForUpdate(@Param("param") JSONObject param);
}
